/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "code":"100200",
            "data":{
                "auditDate":1502901220000,
                "auditFirst":"YES",
                "auditMessage":"",
                "auditMessageId":"",
                "auditStatus":"OK",
                "auditUid":1,
                "cardBack":"aedbdff7db27fe2c084ff748612965fd",
                "cardHandhold":"bb6f81fed24f8481bef6bd6d91e8b67d",
                "cardNo":"220221198707087112",
                "cardPhoto":"f0d4f558f851ef103c5bb102d9dfbb5c",
                "cardTranslate":"aedbdff7db27fe2c084ff748612965fd",
                "cardType":"IDCARD",
                "country":"CHINA",
                "countryId":"CN",
                "createDate":1502901233000,
                "expiredDate":1502901272000,
                "id":3,
                "status":"FINISH",
                "uid":12151,
                "updateDate":1502901220000
            },
            "msg":"成功"
        }
    };
};

/* eslint-enable fecs-camelcase */
